package net.vkits.common.dto;

import net.vkits.common.BaseModel;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Set;

/**
 * Created by ethan-liu on 16/5/8.
 */
public class UserRoleDTO extends BaseModel {
    @NotBlank
    private String username;
    private Set<String> roleIds;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Set<String> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Set<String> roleIds) {
        this.roleIds = roleIds;
    }
}
